package part1.oo.ooday02.ooday02test;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("明明",3,"黑");
        dog.eat();
        dog.drink();
        dog.lookHome();

        Chick chick = new Chick("花花",2,"白");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Fish fish = new Fish("红红",1,"红");
        fish.eat();
        fish.drink();
    }
}
